package com.binge.test.observer;

public class CoreExec {

    public static void main(String[] args) {
        Target target = new Target();
        Monitoring monitoring = new Monitoring();
        target.addObserver(monitoring);
        target.doSomething();
        target.sleep();
    }
}
